/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package shaman.storage.impl.file;

import shaman.storage.common.FileProperties;
import shaman.storage.impl.util.ConverterIterable;

/**
 *
 * @author dmitriy
 */
public class FileList extends ConverterIterable<StoredFileProperties, String> {

    public FileList(Iterable<StoredFileProperties> baseIterable) {
        super(baseIterable);
    }

    @Override
    protected String convert(StoredFileProperties baseValue) {
        return baseValue.getFileName();
    }

}
